package com.training.entity;

import lombok.Data;
import java.sql.Timestamp;

@Data
public class ShoppingCart {
    private Long id; // Primary key ID
    private Long studentId; // Student ID
    private Long courseId; // Course ID
    private Integer quantity; // Quantity (for courses, usually 1)
    private Timestamp createTime; // Creation time (add to cart time)
    private Timestamp updateTime; // Update time
    private Integer deleted; // Logical deletion flag (0: not deleted, 1: deleted)

    // Note: You can add more fields if needed, e.g., price_at_add_time
}
